package org.jeecg.modules.achexaminationpaper.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ach_examination_paper
 * @author: baochangrong
 * @Date:   2022-03-15
 * @Version: V1.0
 */
@Data
@TableName("ach_examination_paper")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ach_examination_paper对象", description="ach_examination_paper")
public class AchExaminationPaperVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**科目id*/
    @Excel(name = "科目id", width = 15)
    @ApiModelProperty(value = "科目id")
    private String subjectId;
    /**试卷编码*/
    @Excel(name = "试卷编码", width = 15)
    @ApiModelProperty(value = "试卷编码")
    private String examinationPaperCode;
    /**试卷名称*/
    @Excel(name = "试卷名称", width = 15)
    @ApiModelProperty(value = "试卷名称")
    private String examinationPaperName;
    /**所属考试id*/
    @Excel(name = "所属考试id", width = 15)
    @ApiModelProperty(value = "所属考试id")
    private String examinationId;
    /**试卷类型*/
    @Excel(name = "试卷类型", width = 15)
    @ApiModelProperty(value = "试卷类型")
    @Dict(dicCode = "examination_paper_ttype")
    private String examinationPaperTtype;
    /**试卷来源*/
    @Excel(name = "试卷来源", width = 15)
    @ApiModelProperty(value = "试卷来源")
    private String examinationPaperSource;
    /**满分*/
    @Excel(name = "满分", width = 15)
    @ApiModelProperty(value = "满分")
    private Double examinationPaperFullMarks;
    /**及格分*/
    @Excel(name = "及格分", width = 15)
    @ApiModelProperty(value = "及格分")
    private Double examinationPaperPassMarks;
    /**考试时间*/
    @Excel(name = "考试时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "考试时间")
    private Date examinationPaperTestTime;
    /**考试时长(分钟)*/
    @Excel(name = "考试时长(分钟)", width = 15)
    @ApiModelProperty(value = "考试时长(分钟)")
    private Integer examinationPaperDuration;
    /**是否启用(1是启用，0否停用)*/
    @Excel(name = "是否启用(1是启用，0否停用)", width = 15)
    @ApiModelProperty(value = "是否启用(1是启用，0否停用)")
    @Dict(dicCode = "iz_open")
    private Integer izOpen=1;
    /**所属部门编码*/
    @ApiModelProperty(value = "所属部门编码")
    private String sysOrgCode;
    /**学校id*/
    @Excel(name = "学校id", width = 15)
    @ApiModelProperty(value = "学校id")
    private String tenantId;
    /**0表示未删除,1表示删除*/
    @Excel(name = "0表示未删除,1表示删除", width = 15)
    @ApiModelProperty(value = "0表示未删除,1表示删除")
    @Dict(dicCode = "del_flag")
    private Integer delFlag=0;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    private String subjectName; //科目名称
    private String examinationName; //考试名称
    private String sysOrgName; //所属部门

}
